﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

namespace TweetsRiot
{
    public partial class LoginForm : Form
    {
        public LoginForm()
        {
            InitializeComponent();
        }

        public TwitterAccess Twitter { get; set; }

        private void LoginForm_Load(object sender, EventArgs e)
        {
            string url = Twitter.CallOauthRequestTokenUrl();
            UrlText.Text = url;
        }

        private void LoginButton_Click(object sender, EventArgs e)
        {

        }

        private void AuthButton_Click(object sender, EventArgs e)
        {
            Process.Start(UrlText.Text);
        }
    }
}
